﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BesAsm.Emgaats.Core
{
  /// <summary>
  /// Argument for EmgaatsExtension events
  /// </summary>
  public class EmgaatsExtensionArgs : EventArgs
  {
    IEmgaatsExtension _extension;    

    /// <summary>
    /// Initializes a new instance of the <see cref="EmgaatsExtensionArgs"/> class.
    /// </summary>
    /// <param name="extension">The extension.</param>
    /// <param name="eventType">Type of the event.</param>
    public EmgaatsExtensionArgs(IEmgaatsExtension extension)
    {
      _extension = extension;      
    }

    /// <summary>
    /// Gets the extension.
    /// </summary>
    public IEmgaatsExtension Extension
    {
      get { return _extension; }
    }

  }

}
